import React from 'react';
import { connect } from 'dva';
import { createForm } from 'rc-form';
import { List, Icon, TextareaItem,Toast } from 'antd-mobile';
import styles from './contactService.css';
import CustBtn from '../../../../../../common/buttons/Btn';

const contactService = ({
  htmlData=''
}) => {

  const createMarkup = (text) => {
    return { __html: text };
  };

  return (
    <div>
      {htmlData ? (
        <div className={styles.htmlContent}
           dangerouslySetInnerHTML={createMarkup(htmlData.content)}></div>
      ):''}
    </div>

  )
}


contactService.propTypes = {
};

export default createForm()(contactService);
